*{
    margin: 0;
    padding: 0;
}
.test{
    background-color: orange;
    border: solid white 10px;
    border-radius: 10px;
}
ul{
    list-style:none;
}
body{
    position: relative;
    background: url(../restaurant/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "黑体";
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
button{
    border: 0px;
    /*消除默认点击蓝色边框效果*/
    outline: none;
}
.restaurant{
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.data{
    display: flex;
    justify-content: space-between;
}
.date,.money{
    background:linear-gradient(to bottom,rgb(255, 230, 152) 0%, rgb(255, 230, 152) 50%, rgb(255,210,77) 50%, rgb(255,210,77) 100%);
    border:solid rgb(140,105,1) 7px;
    border-radius: 20px;
    padding: 5px 10px;
    color:rgb(140,105,1);
    font-weight: 700;
}
.money{
    padding-left: 100px;
}
/* top */


.cook{
    background-color: rgb(255, 210, 77);
    border: solid white 7px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-bottom: 20px;
    margin: 20px 0;
}
.cooker{
    background:linear-gradient(to right,#ff9036 0%, #f8892e 50%, #fd7709 50%, #f87911 100%);
    width: 25%;
    height: auto;
    border: solid white 5px ;
    border-radius: 50%;
    margin: 20px 0;
    position: relative;
}
.cooker-finish{
    visibility: hidden;
    position: absolute;
    z-index: 90;
    width: 100%;
    top: 0;
    transform:translate(-50%,50%);
}
.cook-img{
    display: block;
    width: 100%;
    height: 100%

}
.cooker-food{
    visibility:hidden;
    display: flex;
    position: absolute;
    background:linear-gradient(to left,#ff9036 0%, #f8892e 50%, #fd7709 50%, #f87911 100%);
    border: solid white 3px ;
    height: 30%;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: .5em;
    overflow: hidden;
    transform: translateX(-3%);
    overflow: hidden;
}

/* .cook */

.customer{
    background-color: rgb(255, 166, 77);
    border: solid white 7px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px 0;
    position: relative;
}
.customers{
    position: relative;
}
.customers,.waitCustomer{
    background:linear-gradient(to right,rgb(224, 224, 224) 0%, rgb(223, 223, 223) 50%, #a8a8a8 50%, #a8a8a8 100%);
    width: 25%;
    height: auto;
    border: solid white 5px ;
    border-radius: 50%;
    flex:1,1,auto;
    margin: 20px 0;
}
.customer-img,.waitCustomeImg{
    display: block;
    width: 100%;
    height: 100%
}
.waitCustomer{
    visibility:hidden;
    background:linear-gradient(to left,#3694ff 0%, #3694ff 50%, #1480fc 50%, #1480fc 100%);
    width: 20%;
    position: absolute;
    right: 10px;
    bottom: -30%;
}
.customerText{
    visibility: hidden;
    display: flex;
    position: absolute;
    background:linear-gradient(to left,#008871 0%, #008871 50%, #00b193 50%, #00b193  100%);
    border: solid white 4px ;
    height: 25%;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: small;
    overflow: hidden;
    transform: translateY(-30%) translateX(-5%);
}
.waitCustomerText{
    display: flex;
    position: absolute;
    background:linear-gradient(to left,#3694ff 0%, #3694ff 50%, #1480fc 50%, #1480fc 100%);
    border: solid white 5px ;
    height: 30%;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: small;
    overflow: hidden;
    transform: translateY(-30%) translateX(-5%);
}
.wait-food{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    background:linear-gradient(to left,#ff9036 0%, #f8892e 50%, #fd7709 50%, #f87911 100%);
    border: solid white 3px ;
    height: 30%;
    width: 50%;
    border-radius: 5px;
    color: #fff;
    font-size:.3em;
    overflow: hidden;
    text-decoration-color:rgb(0, 0, 0);
    margin: 0.3em 0;
    padding: .1em;
}
.wait-foods{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(60%,-50%)
}

.blackBackground{
    position: absolute;
    float: left;
    width: 100%;
    height: 200%;
    z-index: -99;
    color: #000;
}



.beginGames{
    position: absolute;
    float: top;
    top: 50%;
}

/* 黑背景 */

.beginGames{
    visibility:hidden;
    /* 隐藏元素 */
    background-color: orange;
    border: solid white 7px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    transform: translateY(-50%);
    margin: 10px;
    z-index: 100;
}
.beginGamesList{
    width: 100%;
    display: flex;
    justify-content: space-around;
}
.beginGamesBtn{
    background:linear-gradient(to bottom,rgb(238, 238, 97) 0%, rgb(238, 238, 97) 50%, #f8ae36 50%, #fcb646 100%);
    border:solid rgb(161, 75, 26) 3px;
    border-radius: 20px;
    padding: 5px 10px;
    color:rgb(161, 75, 26);
    font-weight: 700;
    margin: 10px ;
    cursor: pointer;
}
.beginGamesTitle{
    color:rgb(161, 75, 26);
    font-weight: 800;
    font-size: 2em;
    margin: 10px;
}
/* 开始游戏提示框 */


.menu{
    visibility:hidden;
    position: absolute;
    top: 10vh;
    left: 10px;
    height: 80vh;
    width: 80%;
    background-color:rgb(248, 190, 81);
    margin: 0 10px;
    border: solid white 7px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 100;
}
.menu-customer-head{
    background:linear-gradient(to right,rgb(224, 224, 224) 0%, rgb(223, 223, 223) 50%, #a8a8a8 50%, #a8a8a8 100%);
    border: solid white 5px ;
    border-radius: 50%;
    width: 20%;
}.menu-customer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-customer-text{
    color: rgb(105, 30, 0);
    font: 1.5em sans-serif 800;
}
.menu-list{
    background-color: white;
    width: 100%;
    border: solid rgb(170, 105, 75) 4px;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.menu-list-items{
    transform: translateX(-10%);
}
.menu-list-item{
    padding: 3px;
}
.menu-btns{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}
.menu-btn{
    background:linear-gradient(to bottom,rgb(238, 238, 97) 0%, rgb(238, 238, 97) 50%, #f8ae36 50%, #fcb646 100%);
    font-size:.6em;
    font-weight: 800;
    padding: 10px;
    border: solid rgb(129, 69, 0) 3px;
    border-radius: 20px;
    color: rgb(129, 69, 0);
}

/* tips样式 */
.tips{
    visibility: hidden;
    background-color:rgb(253, 169, 74);  
    border: solid rgb(255, 255, 255) 4px;
    width: 80%;
    display: flex;
    left: 50%;
    position: absolute;
    margin: 0,auto;
    top: 33%;
    z-index: 99;
    border-radius: 20px;
    padding: .5em 0.5em;
    transform: translateX(-50%);
}
.tipsText{
    color: rgb(255, 255, 255);
    font-weight: 600;
}